package pl.lodz.p.services;

import java.util.Date;
import java.util.List;

import pl.lodz.p.model.Doctor;
import pl.lodz.p.model.Schedule;
import pl.lodz.p.model.enums.Gender;
import pl.lodz.p.model.enums.Specialization;

public interface DoctorService {

	public String save(Doctor d);
	
	public List<Doctor> findAll();
	
	public List<Doctor> findBySpecialization(Specialization spec);

	public Doctor findByPesel(String pesel);

	public Doctor findById(int id);
	
	public List<Doctor> findByLastName(String lastName);
	
	public List<Doctor> findByMany(String firstName, String lastName, String pesel, Specialization spec, Gender gender);
	
	public String addWorkDays(Doctor doctor, Date startDate);

	public Schedule findLastSchedule(Doctor chosen);

	//public void mergeToSession(Doctor chosen);
	
}
